#pragma once
#include "SingletonWindow.h"

class CreateGameWindow : public SingletonWindow<CreateGameWindow>
{
public:
	CreateGameWindow();
	~CreateGameWindow();
	
protected:
	virtual bool OnOpen();
	virtual void OnDestory();

private:
	const int mCancelID;
	CDXUTEditBox* mGameNameEditBox;
	CDXUTEditBox* mGamePasswordEditBox;
	CDXUTEditBox* mGameDescEditBox;
	CDXUTComboBox* mGameTypeComboBox;
	CDXUTComboBox* mRoomTypeButton;
	CDXUTButton* mCreateGameButton;
	
	bool OnCreateGameClicked(CDXUTControl*);
	bool OnCancelClicked(CDXUTControl*);
	bool OnGameNameChanged(CDXUTControl*);
};

